﻿@model ScrumProject.Models.Story

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<table class="table">
    <thead></thead>
    <tbody>
        <tr>
            <td>
                Name
            </td>
            <td>
                @Html.TextBoxFor(model => model.Name, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
          <tr>
            <td>
                Description
            </td>
            <td>
                @Html.TextBoxFor(model => model.Description, new { disabled = "disabled", @readonly = "readonly" })
            </td>
         </tr>
         <tr>
            <td>
                Tests
            </td>
            <td>
                @Html.TextBoxFor(model => model.Tests, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
        <tr>
            <td>
                Priority
            </td>
            <td>
                @Html.TextBoxFor(model => model.Priority, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
          <tr>
            <td>
                Business Value
            </td>
            <td>
                @Html.TextBoxFor(model => model.BusinessValue, new { disabled = "disabled", @readonly = "readonly" })
            </td>
         </tr>
         <tr>
            <td>
                Status
            </td>
            <td>
                @Html.TextBoxFor(model => model.Status, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
        <tr>
            <td>
                Notes
            </td>
            <td>
                @Html.TextBoxFor(model => model.Notes, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
          <tr>
            <td>
                Points 
            </td>
            <td>
                @Html.TextBoxFor(model => model.Points, new { disabled = "disabled", @readonly = "readonly" })
            </td>
         </tr>
         <tr>
            <td>
                Project
            </td>
            <td>
                @Html.TextBoxFor(model => model.Project.Name, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
       </tbody>
    </table>
    
    @using (Html.BeginForm())
    {
     <p>
     <input type="submit" value="Delete" class="btn" /> | @Html.ActionLink("Back to List", "Index", new { projectId = ViewBag.projectId }, null)
     </p>
    }